home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-04-12 | 1.5 KB | 54 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="5"
- "COUNT"="1"
- "UIPATH 1"="Startup/Shutdown\Startup\Run on Next Boot"
- "NAME"="Run Norton Speed Disk on Next Boot"
- "VERSION"="1.21"
- "OSVERSION"="111111"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Run Speed Disk on Next Boot"
- "DESCRIPTION 1"="Often the Norton Speed Disk operation is continuously interrupted by other disk/program activity."
- "DESCRIPTION 2"="Checking the box will cause Speed Disk to start on Bootup; if SD is not desired on boot, it may be stopped after boot."
- "DESCRIPTION 3"="NOTE: This plugin is designed to run only on the next restart; whenever you want to run Speed Disk on boot, re-apply the plugin."
- "AUTHOR"="CptSiskoX"
- "CONTACTURL"="http://members.fortunecity.com/computingx/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sP="HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx\"
- sV1="SpeedDisk\"
- v="Title" 'Stg
- v1="Flags" 'Dwrd
- v2="Cmd" 'Stg
-
-
- Sub Plugin_Initialize
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if ElementIndex=1 then
- Call RegWriteValue(sP&v,"SD at Startup",1)
- Call RegWriteValue(sP&v1,"3",2)
-
- if GetWinVer=2 or GetWinVer=4 then 'NT/2k
- Call RegWriteValue(sp&sv1&v2,"SDNTC.EXE",1)
- else
- Call RegWriteValue(sp&sv1&v2,"SD32",1)
- end if
-
- Call Restart()
- end if
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-
-